class CreatePrices < ActiveRecord::Migration
  def self.up
    create_table :prices do |t|
      t.integer :product_id, :null =>false
      t.string :bag_size, :null=>false
      t.decimal :price, :null=>false, :precision =>8, :scale=>0

      t.timestamps
    end
  end

  def self.down
    drop_table :prices
  end
end
